package springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfo(Integer id) {
        return "***** PaymentFallbackService paymentInfo *****";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "***** PaymentFallbackService paymentInfoTimeout *****";
    }
}
